﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Xml.Linq;

namespace Fastyou.Other.Consoles.LINQ
{
    public class LINQ2Other
    {
        public static void WriteDirToXML()
        {
            DirectoryInfo dir = new DirectoryInfo(@"C:\FBLog");
            XElement xe = dir.DirToXml();
            xe.Save(@"c:\1.xml");
        }
    }
}
